﻿<%@ page language="java" pageEncoding="UTF-8"%>
<%@ page import="com.xiaoma.tpo.domain.User" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
String currentUserName = ((User)session.getAttribute("CURRENT_USER")).getName();
%>
<html>
	<head>
		<title>top</title>
		<meta http-equiv=Content-Type content="text/html; charset=utf-8">
		<link rel="stylesheet" type="text/css" href="../style/easyui.css">
	<link rel="stylesheet" type="text/css" href="../style/icon.css">
	<script type="text/javascript" src="../script/jquery-1.7.2.min.js"></script>
	<script type="text/javascript" src="../script/jquery.easyui.min.js"></script>
	<script type="text/javascript" src="../script/easyui-lang-zh_CN.js"></script>
	<script type="text/javascript">
	function outLogon() {
		window.parent.location.replace("<%=basePath%>sys/teacher/logout");
	}
	</script>	
	</head>
	<body class="easyui-layout">
	<div data-options="region:'north',border:false" style="overflow: hidden; height: 30px;
        background: url(../style/images/layout-browser-hd-bg.gif) #7f99be repeat-x center 50%;
        line-height: 20px;color: #fff; font-family: Verdana, 微软雅黑,黑体">
        <div style="margin-top: 5px;">
           <span style="font-size:14px"><b>屌丝备考</b></span>
		
			<span style="float: right; margin-right: 20px;font-size:14px;">
				欢迎：<%=currentUserName %>
				&nbsp;&nbsp;
				<a href="javascript:outLogon()" target="_parent" style="color: white;">注销</a>
			</span>
        </div>
		
	</div>
		
	 
    
	</body>
</html>
